<template>
	<div class="menu_out_box">
		<menu-nav></menu-nav>
	</div>
	<div class="banner_box"></div>
	<div class="search_box"></div>
</template>

<script>
	// @ is an alias to /src
	// import HelloWorld from '@/components/HelloWorld.vue'
	import MenuNav from "@/components/MenuNav"
	import indexApi from '@/api/indexApi'

	export default {
		name: 'HomeView',
		components: {
			// HelloWorld
			MenuNav
		},
		data() {
			return {
				menuList: []
			}
		},
		mounted() {
			this.togetMenuOne()
		},
		methods: {
			togetMenuOne() {
				indexApi.getMenuOne().then(res =>{
					if(res.code == 1){
						console.log(res)
					}
				})
			}
		},
	}
</script>

<style lang="scss">
	
</style>